home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / demos / twidemo1.zip / INSTALL.SCR < prev    next >
Text File  |  1993-01-13  |  1KB  |  65 lines

  1. clear
  2. space %1: 2100 NoSpace
  3. godir %1:%4 CantCreate
  4. echo COPYING DRIVER FILES & GAME FILE PART 1
  5. if exist resource.000 del resource.000
  6. if exist resource.aud del resource.aud
  7. copy %2:\dosonly\*.*
  8. copy %2:\both\*.*
  9.  
  10. rem  Create batch files on the fly and copy it to the root dir
  11. if exist %2:\dosonly\sciv.exe echo sciv > sierra.bat
  12. if exist %2:\dosonly\beta.exe echo beta > sierra.bat
  13. if exist %2:\dosonly\sierra.exe echo sierra > sierra.bat
  14. echo cd %4 > TW.bat
  15. echo call sierra >> TW.bat
  16. copy TW.bat %1:\
  17.  
  18. echo %3 > resource.cfg
  19.  
  20. exists %2:\disk2 Please insert the disk labeled "Disk 2" in drive %2:
  21. echo ADDING GAME FILE PART 2
  22. copy resource.000 + %2:\both\resource.000
  23. echo PLEASE WAIT - DECOMPRESSING AUDIO
  24. echo THIS SHOULD TAKE A FEW MINUTES
  25. %2:\dcompaud .\ %2:\both > NULL
  26.  
  27. if ERRORLEVEL 1 goto ERROR
  28.  
  29. clear
  30. echo
  31.  
  32. echo To play Twisty History now:
  33. echo   Type TW [ENTER]
  34. echo
  35. echo To play later:
  36. echo   From the directory of %1:%4,
  37. echo   type TW [ENTER]
  38. echo
  39.  
  40. pause
  41. goto Exit2
  42.  
  43.  
  44. :NoSpace
  45. clear
  46. echo
  47. echo You do not have enough disk space in %1,
  48. echo to install Twisty History!
  49. echo 2.4 Meg. of free disk space is required.
  50. echo
  51. pause
  52.  
  53. :Exit2
  54. end
  55.  
  56. :CantCreate
  57. alert Cannot create directory %1:%4
  58. end
  59.  
  60. :ERROR
  61. Alert AUDIO DECOMPRESSION FAILED
  62. end
  63.  
  64.  
  65.